home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypertxt / msdos / hyprvx11 / getstart < prev    next >
Encoding:
Text File  |  1990-11-12  |  7.4 KB  |  192 lines

  1. GETTING_STARTED
  2.  
  3. To become familiar with the Mail Utility, use the MAIL commands discussed in
  4. this section. These commands enable you to move around within the Mail Utility.
  5. For more detailed information about the Mail Utility, see the VAX/VMS Mail
  6. Utility Reference Manual.
  7.  
  8. These are the MAIL commands discussed in this section:
  9.  
  10.          SEND        DIRECTORY     EXTRACT
  11.          READ[/NEW]  DELETE        PRINT
  12.          FORWARD     MOVE          HELP
  13.          REPLY       SELECT        EXIT
  14.  
  15. The first command to try is the SEND command. Try sending a message to yourself.
  16. Enter the SEND command and press RETURN. Enter your own user name at the prompt
  17. and press RETURN. Enter a subject at the prompt and press RETURN again. The
  18. following example shows how to use the SEND command:
  19.  
  20.          MAIL> SEND                                     See <SEND>
  21.          To:    PIERCE
  22.          Subj:  Sailing
  23.          Enter your message below.  Press CTRL/Z when complete,
  24.          or CTRL/C to quit:
  25.  
  26. When you finish entering the text of your message, press CTRL/Z.
  27.  
  28. Because you are sending the message to yourself, MAIL signals that you have 
  29. just received a new message by displaying the following message:
  30.  
  31.          New mail on node FLAXEN from PIERCE
  32.          MAIL>
  33.  
  34. Now, you are ready to use the READ command. To read the message you just
  35. sent to yourself, enter the READ command with the /NEW qualifier and
  36. press RETURN as follows:
  37.  
  38.          MAIL> READ/NEW                                    See <READ>
  39.  
  40. You must specify the /NEW qualifier with the READ command when you want to read
  41. new mail that arrives while you are in the Mail Utility. When you are not in 
  42. the Mail Utility and you receive new mail, invoke MAIL to read the new message,
  43. you can enter the READ command without the /NEW qualifier. 
  44. Or, if you wish to read mail that you have already read, you can enter
  45. the READ command.
  46.  
  47. You can forward a copy of a mail message to another user by entering the
  48. FORWARD command. MAIL prompts you for the name of the user to receive
  49. the message. 
  50. Try forwarding a copy of the message you just received back to yourself.
  51. Enter your own user name and press RETURN. Supply a subject when prompted and
  52. press RETURN. MAIL signals that you have just received a new message. 
  53.  
  54. Enter the READ/NEW command to read the forwarded message.
  55. When you receive a message and want to respond to it, enter the REPLY
  56. command and press RETURN. MAIL displays the header information as follows:
  57.  
  58.          MAIL> REPLY                                      See <REPLY> 
  59.          To:    FLAXEN::PIERCE
  60.          Subj:  RE: Using the REPLY command
  61.          Enter your message below.  Press CTRL/Z when complete,
  62.          or CTRL/C to quit:
  63.  
  64. When you finish typing your response, press CTRL/Z.  
  65.  
  66. Again, MAIL signals that you have just received a new message. To read
  67. the message, enter the READ/NEW command.
  68.  
  69. When you want to see a list of all the mail messages you have collected,
  70. enter the DIRECTORY command and press RETURN. MAIL displays a list like
  71. the following:
  72.                                                          See <DIRECTRY>
  73.  
  74.    # From             Date                  Subject
  75.    
  76.    1 FORBES           1-JUN-1988            How to Write a memo
  77.  
  78.    2 STELLA::BERT     2-JUN-1988            Using the Printer
  79.  
  80.    3 FROST::BASTIEN   4-JUN-1988            Chicken Kiev
  81.  
  82.  
  83. When you want to remove a message, use the DELETE command. You can either enter
  84. the DELETE command while you are reading the message or you can enter the 
  85. DELETE command followed by the number of the message you want to remove. To
  86. remove the second message in the list, enter the following command line:
  87.  
  88.          MAIL> DELETE 2                                    See <DELETE>
  89.  
  90. If you enter the DIRECTORY command after you have deleted a message (or
  91. messages), you see the messages marked for deletion, as follows:
  92.  
  93.     # From             Date                  Subject
  94.    
  95.     1 FORBES           1-JUN-1988            How to Write a Memo
  96.  
  97.     2 (Deleted)
  98.  
  99.     3 FROST::BASTIEN   4-JUN-1988            Chicken Kiev
  100.  
  101.  
  102. When you exit from MAIL, the messages marked for deletion disappear. The Mail
  103. Utility allows you to organize your messages by moving them into folders. To
  104. move a message to a folder, enter the MOVE command (while you are reading the
  105. message) and press RETURN. 
  106.                                                         See <FOLDERS>
  107.  
  108. MAIL prompts you for a folder name. Type any name, for example, REVIEWS
  109. or JOKES or STATUS_REPORTS. MAIL also prompts you for a file name. You
  110. can specify the default mail file by pressing RETURN. 
  111.  
  112. A sample session demonstrating the MOVE command follows:
  113.  
  114.          MAIL> 2                                           See <MOVE>
  115.          MAIL> MOVE
  116.          _Folder: WINNERS
  117.          _File: (RET)
  118.  
  119.          Folder WINNERS does not exist.
  120.          Do you want to create it (Y/N, default is N)? Y
  121.          %MAIL-I-NEWFOLDER, folder WINNERS created
  122.  
  123. In this example, the folder name is WINNERS and the default mail file is
  124. specified. If the folder you name does not exist, MAIL asks you if you want to
  125. create it.
  126.  
  127. Once you have created folders, you may want to move between them. To move from
  128. one folder to another, use the SELECT command.
  129.  
  130. If you want to move to the WINNERS folder, enter the SELECT command as follows:
  131.  
  132.          MAIL> SELECT WINNERS
  133.  
  134.          %MAIL-I-SELECTED, 1 message selected
  135.  
  136. In this example, MAIL displays a message indicating the number of messages in
  137. the folder.
  138.  
  139. To move to a folder named JOKES, enter the following command line:
  140.  
  141.          MAIL> SELECT JOKES
  142.  
  143.          %MAIL-I-SELECTED, 32 messages selected
  144.  
  145.  
  146. You can enter the DIRECTORY command to see a list of the messages in the
  147. folder you just selected.
  148.  
  149. When you want to move a mail message from your mail file to a sequential file
  150. that you can access from the DCL command level, use the EXTRACT command. Enter
  151. the EXTRACT command (while you are reading the message) and press RETURN. 
  152.  
  153. MAIL prompts you for the name of a file. Then, when you exit from MAIL, the file
  154. is listed in your directory. The following example shows how to use the EXTRACT
  155. command to move a mail message to a file named GAMES.DAT.
  156.  
  157.          MAIL> EXTRACT
  158.          _File: GAMES.DAT
  159.  
  160.          %MAIL-I-CREATED, DISK:[BERGMAN]GAMES.DAT;1 created
  161.  
  162.          MAIL>
  163. To print a hard copy of a mail message, enter the PRINT command while you are
  164. reading the message and press RETURN. 
  165.  
  166. (When you exit from MAIL, the message enters the print queue.)
  167.  
  168. The following example shows how to make a hard copy of message #4 by using the
  169. PRINT command:
  170.  
  171.          MAIL> 4
  172.  
  173.              #4          4-AUG-1988 09:39:20           MAIL
  174.          From:  SPARTA::FELLINI
  175.          To:    MARSTON
  176.          Subj:  Rydell's Reasons
  177.          In reference to the meeting of July 26, I would like to
  178.          explain Rydell's opinion more fully...
  179.  
  180.          MAIL> PRINT
  181.  
  182. For more information about each MAIL command, you can keep using the HELP
  183. facility provided in MAIL or you can see the VAX/VMS Mail Utility Reference
  184. Manual.
  185.  
  186. When you are ready to leave MAIL, enter the EXIT command and press RETURN. Any
  187. messages marked for deletion disappear. Any messages marked for printing enter
  188. the print queue and the following message is displayed:
  189.  
  190.          MAIL> EXIT                                         See <EXIT>
  191.            Job MAIL (queue ATLAS_PRINT, entry 43) started on
  192.            QUEUE$LPA0